package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderCouponDao;
import com.appkubes.mall.core.entity.MallOrderCoupon;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderCouponService extends AbstractBaseService<BaseMallOrderCouponDao, MallOrderCoupon> {

    MallOrderCoupon getOneByEntity(MallOrderCoupon entity);

    List<MallOrderCoupon> selectListByEntity(MallOrderCoupon entity);

    IPage<MallOrderCoupon> selectPageByEntity(IPage<MallOrderCoupon> page);
    IPage<MallOrderCoupon> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderCoupon> selectPageByEntity(MallOrderCoupon entity, IPage<MallOrderCoupon> page);
    IPage<MallOrderCoupon> selectPageByEntity(MallOrderCoupon entity, PageVO pageVO);

    IPage<MallOrderCoupon> selectPageByEntity(MallOrderCoupon entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderCoupon entity);
}
